package clientTests;


import java.util.ArrayList;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import client.Creature;
import client.SAXReader;
import client.XMLLoaders.CreatureLoader;
import junit.framework.TestCase;

public class SAXReaderTest extends TestCase{

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void test_read(){
		CreatureLoader loader = new CreatureLoader("StartingCreatures.xml");
		ArrayList<Creature> creatures = loader.getCreatures();
		for(Creature c : creatures){
			System.out.println(c.toString());
		}
		
	}
	
}
